package com.zsummer.yw;

import java.util.Arrays;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.zsummer.yw.util.SpringUtils;

public class YWApplication {

	public static void main(String[] args) {
		ApplicationContext context = new ClassPathXmlApplicationContext("applicationContext.xml");
		SpringUtils.setContext(context);
		
		String[] names = context.getBeanDefinitionNames();
		System.out.println(Arrays.toString(names));
	}
}
